package com.exchange.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.exchange.entity.pojo.PowerStatus;
import com.exchange.entity.vo.PowerStatusVo;
import com.exchange.service.PowerStatusService;
import com.exchange.mapper.PowerStatusMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【power_status】的数据库操作Service实现
* @createDate 2024-04-27 19:54:01
*/
@Service
public class PowerStatusServiceImpl extends ServiceImpl<PowerStatusMapper, PowerStatus>
    implements PowerStatusService{
    @Autowired
    private PowerStatusMapper powerStatusMapper;
    @Override
    public List<PowerStatusVo> findAllPower() {
        return powerStatusMapper.findAllPower();
    }
}




